LiteSpeed\Img_Optm D

Total Complexity 251
Dependencies 9
Dependents 7
Total lines 1,911
Lines of code 1,176
Logical lines of code 826
Comment lines 346
Methods 37
Properties 14

Methods 37

Method Rating Maintainability Complexity Lines of code
pull()
C
29 24 118
notify_img()
C
32 23 99
new_req()
B
31 19 113
handler()
A
46 14 40
_send_request()
A
40 13 54
_rescan()
A
38 12 67
_save_raw()
A
42 10 47
rm_bkup()
A
42 9 50
wp_update_attachment_metadata()
A
46 9 37
_calc_bkup()
A
43 8 47
_append_img_queue()
A
50 9 27
_destroy()
A
43 7 48
_batch_switch()
A
45 7 41
_switch_optm_file()
A
45 7 41
_filter_invalid_src()
S
53 7 20
_switch_bk_file()
S
52 6 24
_filter_legacy_src()
S
53 6 20
_destroy_optm_file()
S
56 6 17
_parse_wp_meta_value()
S
55 5 20
img_count()
S
45 3 45
wet_limit()
S
60 5 13
reset_row()
S
51 4 25
_filter_duplicated_src()
S
58 4 15
_gen_thumbnail_set()
S
61 4 12
check_img()
S
50 3 27
_del_bk_file()
S
57 3 16
clean()
S
58 3 15
_get_bk_size()
S
57 3 15
cron_running()
S
65 4 8
_update_cron_running()
S
62 3 12
async_handler()
S
65 3 9
__construct()
S
63 2 10
cron_auto_request()
S
69 2 7
start_async()
S
72 1 5
start_async_cron()
S
80 1 3
_finished_running()
S
76 1 4
_step_back_image()
S
71 1 5